package org.demo.szml.userservice.controller.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @description: 用户登录数据转换类
 * @date: 2025/6/17 16:34
 * @version: 1.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserLoginDTO extends UserBaseDTO{
    //用户名
    @NotNull(message = "用户名不能为空")
    private String username;
    //密码
    @NotNull(message = "密码不能为空")
    private String password;
}
